﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework;
using Tetris.Grid;

namespace Tetris.Blocks
{
    class Stick : TetrisBlock
    {
        public Stick(GridPosition baseGridPosition, Texture2D texture)
            : base(baseGridPosition, texture)
        {
        }

        public override void InitBlockPositions(GridPosition baseGridPosition, Texture2D texture)
        {
            for (int i = 0; i < m_blocks.Length; i++)
                m_blocks[i] = new Block(texture, new GridPosition(baseGridPosition.col, baseGridPosition.row + i));
        }
    }
}
